﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace MyTcpIp.acceleration
{
    /// <summary>
    /// 加速度数据包
    /// </summary>
    /// 
    [StructLayoutAttribute(LayoutKind.Sequential, Pack = 4)]
    public struct AccData
    {                                     
        UInt16 Year;
        byte Month;
        byte Day;
        byte Hour;
        byte Minute;
        byte Second;
        UInt16 Millisecond;

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
        public ChannelAccData[] CHAccData;
    }
}
